速報APP / 程式庫與試用程式 / Dining philosopher problem

Dining philosopher problem

價格:免費

更新日期:2017-08-06

檔案大小:1.4M

目前版本:1.0

版本需求:Android 3.2 以上版本

官方網站:https://github.com/jack9394/Dining-philosopher

Email:jacklebbos1@gmail.com

Dining philosopher problem(圖1)-速報App

This app is an implementation of dining philosopher problem in an android application.

Dining philosopher problem(圖2)-速報App

Dining Philosophers problems is a classic synchronization problem (E. W. Dijkstra. Co-operating Sequential Processes. In F. Genuys (ed.) Programming Languages, Academic Press, London, 1965) introducing semaphores as a conceptual synchronization mechanism. The problem is discussed in just about every operating systems textbook.

Dining Philosophers. There is a dining room containing a circular table with five chairs. At each chair is a plate, and between each plate is a single chopstick. In the middle of the table is a bowl of spaghetti. Near the room are five philosophers who spend most of their time thinking, but who occasionally get hungry and need to eat so they can think some more.

Any change request is welcomed on our git repository.